-
Notifications
You must be signed in to change notification settings - Fork 23
Unify dpnp public API exports by refactoring dpnp_iface.py
#2665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
View rendered docs @ https://intelpython.github.io/dpnp/pull/2665/index.html |
dpnp_iface exportsdpnp_iface.py
|
|
||
| __all__ = _iface__all__ | ||
| __all__ += _ifaceutils__all__ | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the change to the changelog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Array API standard conformance tests for dpnp=0.20.0dev1=py313h509198e_29 ran successfully. |
This PR proposes to refactor the export structure of
dpnp_iface.pyby moving all python function exports intodpnp/__init__.pyRedundant
__all__declarations and wildcard imports insidedpnp_iface.pyhave been removed.This is the first step toward unifying dpnp public API exports and eliminating wildcard imports.
A next PR will remove the remaining wildcard imports in
__init__.pyand finalize the unified function export